package com.woniuxy.demo.epai.service;

import com.woniuxy.demo.epai.controller.form.MypageForm;
import com.woniuxy.demo.epai.controller.form.ProductForm;
import com.woniuxy.demo.epai.model.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.Pageable;

/**
 * <p>
 * 拍品表 服务类
 * </p>
 *
 * @author epai
 * @since 2021-04-12
 */
public interface IProductService {


    MypageForm<Product> queryProductByTerm(MypageForm mypageForm, ProductForm productForm);

    /**
     * 新增商品
     * @param product
     * @return
     */
    int addProduct(Product product);

    //获取商品信息的接口
    Product queryProductById(Integer id);
}
